package com.atguigu.usercenterservice.service;

import com.atguigu.usercenterservice.entity.UcenterMember;
import com.atguigu.usercenterservice.entity.Vo.LoginVo;
import com.atguigu.usercenterservice.entity.Vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author kaixuan
 * @since 2020-06-10
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    /**
     * 用户登陆
     * @param loginVo
     * @return
     */
    String login(LoginVo loginVo);

    /**
     * 用户注册
     * @param registerVo
     */
    void register(RegisterVo registerVo);

    /**
     * 根据日期查询注册人数
     * @param day
     * @return
     */
    Integer selectRegisterCount(String day);

}
